[INFO] cloning repository https://github.com/SCOTPAUL/SwitchConnector
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SCOTPAUL/SwitchConnector" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSCOTPAUL%2FSwitchConnector", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSCOTPAUL%2FSwitchConnector'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f40626104b461d237f2b79c12890ef432466b91c
[INFO] building SCOTPAUL/SwitchConnector against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSCOTPAUL%2FSwitchConnector" "/workspace/builds/worker-8/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/SCOTPAUL/SwitchConnector on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/SCOTPAUL/SwitchConnector
[INFO] finished tweaking git repo https://github.com/SCOTPAUL/SwitchConnector
[INFO] tweaked toml for git repo https://github.com/SCOTPAUL/SwitchConnector written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/SCOTPAUL/SwitchConnector already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 18cb3933cdf1be273f5a81035af4b29cfd3a059bf1e4700eab6256f01cb4a4af
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "18cb3933cdf1be273f5a81035af4b29cfd3a059bf1e4700eab6256f01cb4a4af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "18cb3933cdf1be273f5a81035af4b29cfd3a059bf1e4700eab6256f01cb4a4af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "18cb3933cdf1be273f5a81035af4b29cfd3a059bf1e4700eab6256f01cb4a4af", kill_on_drop: false }`
[INFO] [stdout] 18cb3933cdf1be273f5a81035af4b29cfd3a059bf1e4700eab6256f01cb4a4af
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 72da20e4ba1cbcaa52963887178105567cb946d65cc22d32d1e1fe467e54421b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "72da20e4ba1cbcaa52963887178105567cb946d65cc22d32d1e1fe467e54421b", kill_on_drop: false }`
[INFO] [stderr]    Compiling anyhow v1.0.32
[INFO] [stderr]    Compiling widestring v0.4.2
[INFO] [stderr]    Compiling switch_connector v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::um::bluetoothapis::*;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::ctypes::c_void;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::shared::bthdef::*;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `winapi::um::bluetoothapis::*`, `winapi::ctypes::c_void`, `winapi::shared::bthdef::*`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::um::bluetoothapis::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 2 | use winapi::ctypes::c_void;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 3 | use winapi::shared::bthdef::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_DEVICE_INFO` in this scope
[INFO] [stdout]   --> src/main.rs:15:18
[INFO] [stdout]    |
[INFO] [stdout] 15 |     device_info: BLUETOOTH_DEVICE_INFO
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BLUETOOTH_DEVICE_SEARCH_PARAMS` in this scope
[INFO] [stdout]   --> src/main.rs:23:25
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let search_params = BLUETOOTH_DEVICE_SEARCH_PARAMS {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_DEVICE_SEARCH_PARAMS` in this scope
[INFO] [stdout]   --> src/main.rs:24:27
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn get_pro_controller(show_known: bool) -> Result<BluetoothDevice> {
[INFO] [stdout]    |                      - help: you might be missing a type parameter: `<BLUETOOTH_DEVICE_SEARCH_PARAMS>`
[INFO] [stdout] 23 |     let search_params = BLUETOOTH_DEVICE_SEARCH_PARAMS {
[INFO] [stdout] 24 |         dwSize: size_of::<BLUETOOTH_DEVICE_SEARCH_PARAMS>() as u32,
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BLUETOOTH_DEVICE_INFO` in this scope
[INFO] [stdout]   --> src/main.rs:35:31
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let mut device_info = BLUETOOTH_DEVICE_INFO {
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_DEVICE_INFO` in this scope
[INFO] [stdout]   --> src/main.rs:36:31
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn get_pro_controller(show_known: bool) -> Result<BluetoothDevice> {
[INFO] [stdout]    |                      - help: you might be missing a type parameter: `<BLUETOOTH_DEVICE_INFO>`
[INFO] [stdout] ...
[INFO] [stdout] 36 |             dwSize: size_of::<BLUETOOTH_DEVICE_INFO>() as u32,
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BluetoothFindFirstDevice` in this scope
[INFO] [stdout]   --> src/main.rs:47:28
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let found_device = BluetoothFindFirstDevice(&search_params, &mut device_info);
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BluetoothFindNextDevice` in this scope
[INFO] [stdout]   --> src/main.rs:61:15
[INFO] [stdout]    |
[INFO] [stdout] 61 |         while BluetoothFindNextDevice(found_device, &mut device_info) == 1 {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]   --> src/main.rs:72:67
[INFO] [stdout]    |
[INFO] [stdout] 72 | unsafe extern "system" fn bluetooth_registration_callback(_: *mut c_void, callback_params: *mut BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS)...
[INFO] [stdout]    |                                                                   ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::ffi::c_void;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::os::raw::c_void;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS` in this scope
[INFO] [stdout]   --> src/main.rs:72:97
[INFO] [stdout]    |
[INFO] [stdout] 72 | ...*mut c_void, callback_params: *mut BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS) -> i32 {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_AUTHENTICATE_RESPONSE` in this scope
[INFO] [stdout]   --> src/main.rs:73:23
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let mut auth_res: BLUETOOTH_AUTHENTICATE_RESPONSE = std::mem::zeroed();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BLUETOOTH_NUMERIC_COMPARISON_INFO` in this scope
[INFO] [stdout]   --> src/main.rs:78:41
[INFO] [stdout]    |
[INFO] [stdout] 78 |     *auth_res.u.numericCompInfo_mut() = BLUETOOTH_NUMERIC_COMPARISON_INFO  { NumericValue: *((&*callback_params).u.Numeric_Value()) };
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BluetoothSendAuthenticationResponseEx` in this scope
[INFO] [stdout]   --> src/main.rs:82:42
[INFO] [stdout]    |
[INFO] [stdout] 82 |     println!("Sending auth response {}", BluetoothSendAuthenticationResponseEx(null_mut(), &mut auth_res));
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BluetoothRemoveDevice` in this scope
[INFO] [stdout]   --> src/main.rs:97:17
[INFO] [stdout]    |
[INFO] [stdout] 97 |                 BluetoothRemoveDevice(&device.device_info.Address);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HBLUETOOTH_AUTHENTICATION_REGISTRATION` in this scope
[INFO] [stdout]    --> src/main.rs:111:34
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let mut callback_handle: HBLUETOOTH_AUTHENTICATION_REGISTRATION = null_mut();
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BluetoothRegisterForAuthenticationEx` in this scope
[INFO] [stdout]    --> src/main.rs:114:45
[INFO] [stdout]     |
[INFO] [stdout] 114 | ...   println!("Registering callback {}", BluetoothRegisterForAuthenticationEx(&mut device.device_info, &mut callback_handle as *mut HBLU...
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HBLUETOOTH_AUTHENTICATION_REGISTRATION` in this scope
[INFO] [stdout]    --> src/main.rs:114:136
[INFO] [stdout]     |
[INFO] [stdout] 114 | ..._info, &mut callback_handle as *mut HBLUETOOTH_AUTHENTICATION_REGISTRATION, Some(bluetooth_registration_callback), null_mut()));
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BluetoothAuthenticateDevice` in this scope
[INFO] [stdout]    --> src/main.rs:116:32
[INFO] [stdout]     |
[INFO] [stdout] 116 | ...   println!("Authing {}", BluetoothAuthenticateDevice(null_mut(), null_mut(), &mut device.device_info, U16CString::from_str("0000").un...
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BluetoothSetServiceState` in this scope
[INFO] [stdout]    --> src/main.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 120 |         BluetoothSetServiceState(null_mut(), &mut device.device_info, &mut HumanInterfaceDeviceServiceClass_UUID, BLUETOOTH_SERVICE_ENABLE);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HumanInterfaceDeviceServiceClass_UUID` in this scope
[INFO] [stdout]    --> src/main.rs:120:76
[INFO] [stdout]     |
[INFO] [stdout] 120 |         BluetoothSetServiceState(null_mut(), &mut device.device_info, &mut HumanInterfaceDeviceServiceClass_UUID, BLUETOOTH_SERVICE_ENABLE);
[INFO] [stdout]     |                                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BLUETOOTH_SERVICE_ENABLE` in this scope
[INFO] [stdout]    --> src/main.rs:120:115
[INFO] [stdout]     |
[INFO] [stdout] 120 |         BluetoothSetServiceState(null_mut(), &mut device.device_info, &mut HumanInterfaceDeviceServiceClass_UUID, BLUETOOTH_SERVICE_ENABLE);
[INFO] [stdout]     |                                                                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 24 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `switch_connector`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "72da20e4ba1cbcaa52963887178105567cb946d65cc22d32d1e1fe467e54421b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72da20e4ba1cbcaa52963887178105567cb946d65cc22d32d1e1fe467e54421b", kill_on_drop: false }`
[INFO] [stdout] 72da20e4ba1cbcaa52963887178105567cb946d65cc22d32d1e1fe467e54421b
